package org.springblade.modules.admin.service;

import org.springblade.core.mp.base.BaseService;
import org.springblade.modules.admin.entity.BuildingElevatorTemplateRele;

import java.util.List;

public interface BuildingElevatorTemplateReleService extends BaseService<BuildingElevatorTemplateRele> {

	String saveRele(Long buildingElevatorTemplateId, List<BuildingElevatorTemplateRele> releList);

	/**
	 *
	 * @param buildingElevatorTemplateId 模板id
	 * @param releValue 值 有序数组
	 * @return
	 */
	String saveRele(Long buildingElevatorTemplateId,String[] releValue);

	/**
	 * 电梯结构级联查询
	 * @param buildingId
	 * @param parentId
	 * @return
	 */
    List<BuildingElevatorTemplateRele> lazyList(Long buildingId, Long parentId);
}

